<?php
defined('BASEPATH') OR exit('No direct script access allowed');

class Food_order_model extends MY_Model{
	
	public function __construct(){
		parent::__construct();
	}
	
	public function types($key = null){
		$return = [
			'breakfast' => '早餐',
			'lunch' => '中餐',
			'dinner' => '晚餐'
		];
		if($key !== null){
			return $return[$key];
		}
		return $return;
	}
	
}